package com.loyi.cloud.hbmis.domain;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 日数据
 * 
 * @author Lenovo
 *
 */
public class HourData extends EntityBase {

	private long datahourid;

	private long datatime;

	private long uploadtime;

	private String ptid;

	private String deviceid;

	private String channelid;

	private double value;

	private double maxValue;

	private double minValue;

	private String pollcode;
	private int protocol;

	public void setChannelid(String channelid) {
		this.channelid = channelid;
	}

	public String getChannelid() {
		return channelid;
	}

	public void setProtocol(int protocol) {
		this.protocol = protocol;
	}

	public int getProtocol() {
		return protocol;
	}

	public void setDatahourid(long datahourid) {
		this.datahourid = datahourid;
	}

	public long getDatahourid() {
		return datahourid;
	}

	public long getDatatime() {
		return datatime;
	}

	public void setDatatime(long datatime) {
		this.datatime = datatime;
	}

	public long getUploadtime() {
		return uploadtime;
	}

	public void setUploadtime(long uploadtime) {
		this.uploadtime = uploadtime;
	}

	public String getPtid() {
		return ptid;
	}

	public void setPtid(String ptid) {
		this.ptid = ptid;
	}

	public String getDeviceid() {
		return deviceid;
	}

	public void setDeviceid(String deviceid) {
		this.deviceid = deviceid;
	}

	public double getValue() {
		return value;
	}

	public void setValue(double value) {
		this.value = value;
	}

	public double getMaxValue() {
		return maxValue;
	}

	public void setMaxValue(double maxValue) {
		this.maxValue = maxValue;
	}

	public double getMinValue() {
		return minValue;
	}

	public void setMinValue(double minValue) {
		this.minValue = minValue;
	}

	public String getPollcode() {
		return pollcode;
	}

	public void setPollcode(String pollcode) {
		this.pollcode = pollcode;
	}

}
